package com.mindainfo.groundwave.server.equipment.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.mindainfo.groundwave.server.equipment.bean.RelayInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by MD-01 on 2017/7/4.
 */
public interface RelayInfoMapper extends BaseMapper<RelayInfo> {

    /**
     *  页面分页,条件查询数据
     */
    List<RelayInfo> queryList(@Param("start")Integer start,
                              @Param("num")Integer num,
                              @Param("key")String key,
                              @Param("deptIdList")List deptIdList);

    /**
     * 条件查询总数
     */
    int queryListCount(@Param("key")String key,
                       @Param("deptIdList")List deptIdList);
}
